package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 控件对象 sys_control
 * 
 * @author ruoyi
 * @date 2024-02-26
 */
public class SysControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 控件id */
    private Long controlId;

    /** 控件名称 */
    @Excel(name = "控件名称")
    private String controlName;

    /** 控件类型 */
    @Excel(name = "控件类型")
    private Long controlType;

    public void setControlId(Long controlId) 
    {
        this.controlId = controlId;
    }

    public Long getControlId() 
    {
        return controlId;
    }
    public void setControlName(String controlName) 
    {
        this.controlName = controlName;
    }

    public String getControlName() 
    {
        return controlName;
    }
    public void setControlType(Long controlType) 
    {
        this.controlType = controlType;
    }

    public Long getControlType() 
    {
        return controlType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("controlId", getControlId())
            .append("controlName", getControlName())
            .append("controlType", getControlType())
            .toString();
    }
}
